package com.banmoon.builder;

import com.banmoon.builder.house.HighHouse;
import com.banmoon.builder.house.House;

public class HighHouseBuilder extends HouseBuilder {

    public HighHouseBuilder(House house) {
        super(new HighHouse());
    }

    @Override
    public HouseBuilder buildSubgrade() {
        super.house.setSubgrade("打10米深的地基");
        return this;
    }

    @Override
    public HouseBuilder buildWall() {
        super.house.setWall("打20厘米宽的墙");
        return this;
    }

    @Override
    public HouseBuilder buildRoof() {
        super.house.setRoof("盖钢化玻璃封顶");
        return this;
    }
}
